package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/VersionManagement.class */
public class VersionManagement implements Serializable {
    private static final long serialVersionUID = -38649913291867547L;
    @ApiModelProperty("${column.comment}")
    private Integer id;
    @ApiModelProperty("版本")
    private String edition;
    @ApiModelProperty("下载地址")
    private String url;
    @ApiModelProperty("添加时间")
    private String createTime;
    @ApiModelProperty("发布状态")
    private Integer releaseStatus;
    @ApiModelProperty("修改时间")
    private String updateTime;
    @ApiModelProperty("版本编号")
    private Integer editionNum;

    public VersionManagement setId(Integer id) {
        this.id = id;
        return this;
    }

    public VersionManagement setEdition(String edition) {
        this.edition = edition;
        return this;
    }

    public VersionManagement setUrl(String url) {
        this.url = url;
        return this;
    }

    public VersionManagement setCreateTime(String createTime) {
        this.createTime = createTime;
        return this;
    }

    public VersionManagement setReleaseStatus(Integer releaseStatus) {
        this.releaseStatus = releaseStatus;
        return this;
    }

    public VersionManagement setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public VersionManagement setEditionNum(Integer editionNum) {
        this.editionNum = editionNum;
        return this;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VersionManagement)) {
            return false;
        }
        VersionManagement other = (VersionManagement) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$edition = getEdition();
        Object other$edition = other.getEdition();
        if (this$edition == null) {
            if (other$edition != null) {
                return false;
            }
        } else if (!this$edition.equals(other$edition)) {
            return false;
        }
        Object this$url = getUrl();
        Object other$url = other.getUrl();
        if (this$url == null) {
            if (other$url != null) {
                return false;
            }
        } else if (!this$url.equals(other$url)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$releaseStatus = getReleaseStatus();
        Object other$releaseStatus = other.getReleaseStatus();
        if (this$releaseStatus == null) {
            if (other$releaseStatus != null) {
                return false;
            }
        } else if (!this$releaseStatus.equals(other$releaseStatus)) {
            return false;
        }
        Object this$updateTime = getUpdateTime();
        Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null) {
            if (other$updateTime != null) {
                return false;
            }
        } else if (!this$updateTime.equals(other$updateTime)) {
            return false;
        }
        Object this$editionNum = getEditionNum();
        Object other$editionNum = other.getEditionNum();
        return this$editionNum == null ? other$editionNum == null : this$editionNum.equals(other$editionNum);
    }

    protected boolean canEqual(Object other) {
        return other instanceof VersionManagement;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $edition = getEdition();
        int result2 = (result * 59) + ($edition == null ? 43 : $edition.hashCode());
        Object $url = getUrl();
        int result3 = (result2 * 59) + ($url == null ? 43 : $url.hashCode());
        Object $createTime = getCreateTime();
        int result4 = (result3 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $releaseStatus = getReleaseStatus();
        int result5 = (result4 * 59) + ($releaseStatus == null ? 43 : $releaseStatus.hashCode());
        Object $updateTime = getUpdateTime();
        int result6 = (result5 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
        Object $editionNum = getEditionNum();
        return (result6 * 59) + ($editionNum == null ? 43 : $editionNum.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "VersionManagement(id=" + getId() + ", edition=" + getEdition() + ", url=" + getUrl() + ", createTime=" + getCreateTime() + ", releaseStatus=" + getReleaseStatus() + ", updateTime=" + getUpdateTime() + ", editionNum=" + getEditionNum() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getEdition() {
        return this.edition;
    }

    public String getUrl() {
        return this.url;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public Integer getReleaseStatus() {
        return this.releaseStatus;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public Integer getEditionNum() {
        return this.editionNum;
    }
}